import wx

class Example(wx.Frame):
    def __init__(self, parent, title):
        super(Example, self).__init__(parent, title=title)
        self.InitUI()
    def InitUI(self):
        wx.CallLater(3000, self.ShowMessage)

    def ShowMessage(self):
        wx.MessageBox('download ok', 'Info', wx.OK|wx.ICON_INFORMATION)

def main():
    app = wx.App()
    frame = Example(None, title='simple dialog')
    frame.Show()
    app.MainLoop()

if __name__ == '__main__':
    main()
